home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
comm
/
ums
/
IntuiNews1_4a.lha
/
UMS
/
Rexx
/
PGPAddKey.intui
< prev
next >
Wrap
Text File
|
1995-03-29
|
1KB
|
60 lines
/****** PGPAddKey.intui ******************************************************
NAME
$VER: PGPAddKey.intui 1.0 (29.3.95)
SYNOPSIS
add a PGP public-key found in a message to your PGP-keyring
AUTHOR
Olaf Peters
Kulmer Str. 7
28237 Bremen
op@hb2.maus.de / olf@informatik.uni-bremen.de
INSTALLATION
Copy PGPAddKey.intui to the place where your other
IntuiNews-ARexx-Script are located.
NOTES
PGPAddKey.intui is based upon PGPDecrypt.intui by Matthias Scheler
PGPAddKey.intui should only be called from IntuiNews' message-window.
SEE ALSO
IntuiNews' documentation about installing and calling ARexx-script
from within IntuiNews.
******************************************************************************
*
*/
/* Exit if Message Window is not active. */
OPTIONS RESULTS
STATUS
IF RESULT~="MESSAGE" THEN EXIT 5
/* We get IntuiNews's message number, ... */
GETMSGNUM
MsgNum=RESULT
/* ... save the message, ... */
'SAVEMSGBODY' MsgNum 'TO T:IntuiNews.pgp'
/* ... call PGP, ... */
SHELL COMMAND 'pgp +BATCHMODE -ka T:IntuiNews.pgp > T:IntuiNews.PGPOut'
/* ... and show the output of PGP in the messagewindow ... */
'REPLACEMSGBODY WITH T:IntuiNews.pgpout'
/* cleanup */
SHELL COMMAND 'Delete T:IntuiNews.(pgp|pgpout) QUIET'